<?php

namespace App\Models\Labaicai;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\Labaicai\Fooods
 *
 * @property int $id
 * @property int $food_category_id
 * @property string $icon
 * @property string $name
 * @property string $unit
 * @property float|null $heat 热量
 * @property float|null $carbo 碳水
 * @property float|null $protein 蛋白质
 * @property float|null $fat 脂肪
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods filter()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods whereCarbo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods whereFat($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods whereFoodCategoryId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods whereHeat($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods whereIcon($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods whereProtein($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Labaicai\Fooods whereUnit($value)
 * @mixin \Eloquent
 */
class Fooods extends Model
{
    protected $table = 'foods';
    protected $fillable = [];

    public function scopeFilter($query)
    {
        //
    }
}
